<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
    <title>问卷管理</title>
    <title>管理员登录</title>
</head>
<body>
<div class="container">
    <div class="my-5 bg-primary p-4 text-white d-flex justify-content-center">
        <h1>问卷管理用户登录</h1>
    </div>
    <div class="my-4">
        <p class="text-warning">{{ msg }}</p>
    </div>
    <form action="" method="post">
        {% csrf_token %}
        <div class="mb-3 mt-3">
            <label for="user_name" class="form-label">用户名：</label>
            <input type="text" class="form-control" id="user_name" placeholder="输入用户名" name="user_name">
        </div>
        <div class="mb-3 mt-3">
            <label>密码：</label>
            <input type="password" class="form-control" id="user_pwd" placeholder="输入密码" name="user_pwd">
        </div>
        <button type="submit" class="btn btn-primary ps-5 pe-5">登录</button>
    </form>
</div>
</body>
</html>